package me.helllp.dake.core.component;

import java.util.Set;
import java.util.concurrent.TimeUnit;

public interface IDakeCacheManager {
    boolean hasKey(String key);
    void putCache(String key, Object value, long timeout, TimeUnit unit);

    void putCache(String key, Object value);

    boolean cleanCache(String key);

    Object getCache(String key);

    boolean putSet(String key, Set<String> sets);
}
